﻿namespace ModuleOne
{
    using MEF_Test.Contracts;

    public interface IDiskFileHandlerFactory
    {
        /// <summary>
        /// Creates a file handler for the file located to the specified path.
        /// </summary>
        /// <param name="path">The path to the file for which to create a file handler..</param>
        /// <param name="contentType">Type of the content.</param>
        /// <returns> An <see cref="IDiskFileHandler"/> instance. </returns>
        IDiskFileHandler Create(string path, string contentType);
    }
}